package ute.mvc.dto;


import java.util.Date;

import javax.persistence.Entity;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import ute.mvc.model.MyFile;
import ute.mvc.util.DateTimeSerializer;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

@Entity
public class StudentAssignmentDTO {
	private boolean existed;
	private String description;
	private MyFile mFile;
	private MultipartFile file;
	private boolean allowSubmitt;
	private int submittedTime;
	private int point;
	
	public int getSubmittedTime() {
		return submittedTime;
	}
	public void setSubmittedTime(int submittedTime) {
		this.submittedTime = submittedTime;
	}
	public int getPoint() {
		return point;
	}
	public void setPoint(int point) {
		this.point = point;
	}
	public boolean isExisted() {
		return existed;
	}
	public void setExisted(boolean existed) {
		this.existed = existed;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	public MyFile getmFile() {
		return mFile;
	}
	public void setmFile(MyFile mFile) {
		this.mFile = mFile;
	}
	public MultipartFile getFile() {
		return file;
	}
	public void setFile(MultipartFile file) {
		this.file = file;
	}
	public boolean isAllowSubmitt() {
		return allowSubmitt;
	}
	public void setAllowSubmitt(boolean allowSubmitt) {
		this.allowSubmitt = allowSubmitt;
	}
	
}
